package org.jcc.core.cs.generic.bigger;

public class Ball implements Comparable<Ball>{

	private String size;

	public Ball(String size) {
		this.size = size;
	}

	@Override
	public int compareTo(Ball ball) {
		return size.compareTo(ball.size);
	}
	
	@Override
	public String toString() {
		return size + " ball";
	}

}
